package cn.lingyangwl.agile.infra.weixin.cp.handler;

import me.chanjar.weixin.common.error.WxErrorException;
import me.chanjar.weixin.common.session.WxSessionManager;
import me.chanjar.weixin.cp.api.WxCpService;
import me.chanjar.weixin.cp.bean.message.WxCpXmlMessage;
import me.chanjar.weixin.cp.bean.message.WxCpXmlOutMessage;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * 接收客服会话管理的事件处理器
 *
 * @author shenguangyang
 */
@Component
public class WxCpKfSessionHandler extends AbstractWxCpMessageHandler {


    @Override
    public WxCpXmlOutMessage handle(WxCpXmlMessage wxMessage, Map<String, Object> context,
                                    WxCpService wxCpService, WxSessionManager sessionManager) throws WxErrorException {
        throw new UnsupportedOperationException("未实现该处理，请自行重写");
    }
}
